#ifndef LOG_INFO_H
#define LOG_INFO_H

#include "behaviortree_cpp/bt_factory.h"
#include "rclcpp/rclcpp.hpp"

class LogInfo : public BT::SyncActionNode
{
  public:
    LogInfo(const std::string& name, const BT::NodeConfig& config, rclcpp::Node* node);

    static BT::PortsList providedPorts();

    BT::NodeStatus tick() override;

  private:
    rclcpp::Node* node_;
};

#endif  // LOG_INFO_H
